package com.liveinstars.im.domain.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.liveinstars.im.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

/**
 * <p>
 * 聊天群成员组织
 * </p>
 *
 * @author 8btc
 * @since 2020-03-31
 */
@Data
@ToString
public class ChatGroupMember extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 圈子id
     */
    private Long chatGroupId;

    /**
     * 圈子类型
     */
    private Integer groupType;

    /**
     * 备注名称
     */
    private String remarkName;

    /**
     * 是否屏蔽
     */
    private Boolean shield;

    /**
     * 是否免打扰
     */
    private Boolean noDisturbing;

    /**
     * 屏蔽时间
     */
    private Integer shieldTime;

}
